package com.labor_management_system.Service;

import com.labor_management_system.Entity.Project;
import com.baomidou.mybatisplus.extension.service.IService;
import com.labor_management_system.Utils.Pair;

import java.util.List;

/**
* @author deathwing475
* @description 针对表【project】的数据库操作Service
* @createDate 2024-02-27 09:54:53
*/
public interface ProjectService extends IService<Project> {


    List<Pair<String,String>> getProjectIDAndName();
    Boolean insertProject(Project project);
    List<Project> showAllProject(Integer selectPage, Integer pageSize);
    List<Project> selectBy(Project project);

    Project selectProjectById(String projectId);

    Boolean updateProject(Project project,String projectId);

    //void deleteproject(String projectId);

    List<Project> selectAllProject();
    //boolean deleteTeam(String TeamID);

}
